var api = axios.create({
  baseURL: 'https://api.tl100.com/exam_signup',
  withCredentials: true,
  timeout: 5000,
  headers: { 'Content-Type': 'application/json;charset=UTF-8' }
});
function setLog(api, error) {
  var mydate = new Date();
  mydate.setHours(mydate.getHours() + 8);
  axios.post(location.origin+'/sce', {
    location: location.href,
    date: mydate,
    api: api,
    info: error
  });
}